﻿<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="__PUBLIC__/admin/lib/html5.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/lib/respond.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/lib/PIE_IE678.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/static/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/lib/Hui-iconfont/1.0.7/iconfont.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/lib/icheck/icheck.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/static/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/static/h-ui.admin/css/style.css" />
<style>
.pages { padding:0px 10px 0 0;float:right; font-size: 12px;}
.pages a,.pages span { display:inline-block; padding:2px 5px; margin:0 1px; border:1px solid #f0f0f0; -webkit-border-radius:3px; -moz-border-radius:3px; border-radius:3px; }
.pages a,.pages li { display:inline-block; list-style: none; text-decoration:none; color:#000; }
.pages a.first,.pages a.prev,.pages a.next,.pages a.end{ margin:0; }
.pages a:hover{ border-color:#50A8E6; }
.pages span.current{ background:#50A8E6; color:#FFF; font-weight:700; border-color:#50A8E6; }
</style>
<title>系统日志</title>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 系统管理 <span class="c-gray en">&gt;</span> 系统日志 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">
  <div class="text-c">
    <form method="get" action="<?php echo url('system/log')?>">
      日期范围：
      <input type="text" name="startTime" value="<?php echo isset($display['startTime']) ? $display['startTime'] : ''?>" onfocus="WdatePicker({maxDate:'#F{ $dp.$D(\'logmax\')||\'%y-%M-%d\'}'})" id="logmin" class="input-text Wdate" style="width:120px;">
      -
      <input type="text" name="endTime" value="<?php echo isset($display['endTime']) ? $display['endTime'] : ''?>" onfocus="WdatePicker({minDate:'#F{ $dp.$D(\'logmin\')}',maxDate:'%y-%M-%d'})" id="logmax" class="input-text Wdate" style="width:120px;">
      <input type="text" name="searchName" value="<?php echo isset($display['searchName']) ? $display['searchName'] : ''?>" id="" placeholder="日志名称" style="width:250px" class="input-text">
      <button class="btn btn-success radius" type="submit"><i class="Hui-iconfont">&#xe665;</i> 搜索</button>
    </form>
  </div>
  <div class="mt-20">
  <table class="table table-border table-bordered table-bg table-hover table-sort">
    <thead>
    <tr>
      <th scope="col" colspan="7">系统日志</th>
    </tr>
      <tr class="text-c">
        <th width="60">ID</th>
        <th>内容</th>
        <th width="100">用户名</th>
        <th width="100">客户端IP</th>
        <th width="150">时间</th>
      </tr>
    </thead>
    <tbody>
    <?php foreach($list as $v):?>
      <tr class="text-c">
        <td><?php echo $v['id']?></td>
        <td><?php echo $v['log_action']?></td>
        <td><?php echo $v['uname']?></td>
        <td><?php echo long2ip($v['uip'])?></td>
        <td><?php echo date('Y-m-d H:i:s',$v['log_time'])?></td>
      </tr>
    <?php endforeach;?>
    <?php if(empty($list)):?>
      <tr class="text-l"><td colspan="5">没有找到匹配的记录</td></tr>
    <?php endif;?>
    </tbody>
  </table>
  </div>
  <span class="r pages mt-10"><?php echo $page?></span>
</div>
<script type="text/javascript" src="__PUBLIC__/admin/lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/lib/Validform/5.3.2/Validform.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/lib/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/lib/layer/2.1/layer.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/lib/laypage/1.2/laypage.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/static/h-ui/js/H-ui.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/static/h-ui.admin/js/H-ui.admin.js"></script>

</body>
</html>